home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / updates / update35.zoo / README
Encoding:
Text File  |  1993-11-17  |  2.1 KB  |  55 lines

  1. Here is update 35: featuring gcc-2.5.3 with a working -mbaserel (again!)
  2. some people have been having problems running g++ on a 4M atariST, and
  3. some have not. i have a TT setup only, where it runs fine, so i cannot
  4. figure out whats up on some 4M Sts. if you have a ST setup please will
  5. you let me know how you make out with running g++ (gcc h.cc -lg++ should
  6. suffice).
  7.  
  8.  
  9. gcc-2.5.3/    diffs from gnu gcc-2.5.3 + makefiles etc
  10.  
  11. include/    library PL 95 (replace your limits.h with the one in here)
  12.         and apply patches in diffh
  13.  
  14. lib/        apply patches in diffc. NOTE: it is very important to
  15.         apply the patch to crt0.c, and re compile bcrt0.o and
  16.         bgcrt0.o before attempting to use gcc -mbaserel with
  17.         gcc 2.5.X
  18.  
  19. more about -mbaserel:
  20.  
  21.     some of you who are also on the mint mailing list may have already
  22. seen andreas's patch to gcc-2.5.0 calls.c for -mbaserel. in addition to
  23. that the following patch to m68k.h is required. BOTH of these diffs are
  24. included in the above gcc-2.5.3 patches.
  25.  
  26. *** mmm Wed Nov 17 14:07:57 1993
  27. --- m68k.h      Mon Nov 15 14:48:57 1993
  28. ***************
  29. *** 1241,1247 ****
  30.   #define GO_IF_LEGITIMATE_ADDRESS(MODE, X, ADDR)                               
  31. \
  32.   { GO_IF_NONINDEXED_ADDRESS (X, ADDR);                                 \
  33.     GO_IF_INDEXED_ADDRESS (X, ADDR);                                    \
  34. !   if (flag_pic && MODE == CASE_VECTOR_MODE && GET_CODE (X) == PLUS    \
  35.         && LEGITIMATE_INDEX_P (XEXP (X, 0))                             \
  36.         && GET_CODE (XEXP (X, 1)) == LABEL_REF)                         \
  37.       goto ADDR; }
  38. --- 1241,1247 ----
  39.   #define GO_IF_LEGITIMATE_ADDRESS(MODE, X, ADDR)                               
  40. \
  41.   { GO_IF_NONINDEXED_ADDRESS (X, ADDR);                                 \
  42.     GO_IF_INDEXED_ADDRESS (X, ADDR);                                    \
  43. !   if ((flag_pic && flag_pic < 3) && MODE == CASE_VECTOR_MODE && GET_CODE (X) =
  44. = PLUS  \
  45.         && LEGITIMATE_INDEX_P (XEXP (X, 0))                             \
  46.         && GET_CODE (XEXP (X, 1)) == LABEL_REF)                         \
  47.       goto ADDR; }
  48.  
  49. cheers,
  50. --
  51. bang:   uunet!cadence!bammi            jwahar r. bammi
  52. domain: bammi@cadence.com
  53. GEnie:    J.Bammi
  54. CIS:    71515,155
  55.